package conf

type Config struct {
	DirInfo          []ConfigDirInfo        `yaml:"dirInfo"`
	ZincsearchServer ConfigZincsearchServer `yaml:"zincsearchServer"`
	DBPath           string                 `yaml:"dbPath"`
	MaxHistory       int                    `yaml:"MaxHistory"`
}
type ConfigZincsearchServer struct {
	Address  string `yaml:"address"`
	Username string `yaml:"usrename"`
	Password string `yaml:"password"`
}

type ConfigDirInfo struct {
	DirPath     string `yaml:"dirPath"`
	IndexPrefix string `yaml:"indexPrefix"`
}
